tests: don't create a syslinux stub unconditionally in libtest
authorJavier Martinez Canillas <javier.martinez@collabora.co.uk>
Sat, 31 Aug 2013 21:04:48 +0000 (23:04 +0200)
committerColin Walters <walters@verbum.org>
Sun, 15 Sep 2013 16:46:39 +0000 (12:46 -0400)
commitf19ba12360d1d1f460df54f55a6aa49eaa0cef1a
tree623ee44f8cc0c41fe4b432a366e1e855042447c8
parentd302c3d7ff60fb8bb6cdbb265fd6cb6d0eeadd09
tests: don't create a syslinux stub unconditionally in libtest

libtest.sh has an setup_os_repository() helper function tha is
used by many tests to setup an OSTree initial repository.

This function creates an syslinux configuration unconditionally
but OSTree supports other bootloader backends besides syslinux.

So, is better to conditionally create a syslinux configuration
only when it is needed.

https://bugzilla.gnome.org/show_bug.cgi?id=708069

Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
tests/libtest.sh
tests/test-admin-deploy-1.sh
tests/test-admin-deploy-2.sh